import {Tools} from 'weaver-mobile';

/**
 * 绩效-考核方案未设置数量
 * jiansong 2019/6/11
 */
export const accessAuditProgramNumApi = params => {
    let options = {
        method: 'GET',
        url: '/api/workrelate/performance/accessAuditProgramNum',
        params: {...params}
    };
    return Tools.callApi(options);
};

/**
 * 绩效-待考核评分及审批-列表
 * jiansong 2019/6/11
 */
export const accessAuditListApi = params => {
    let options = {
        method: 'GET',
        url: '/api/workrelate/performance/accessAuditList',
        params: {...params}
    };
    return Tools.callApi(options);
};

/**
 * 绩效-待考核评分及审批-操作
 * jiansong 2019/6/11
 */
export const accessAuditOperationApi = params => {
    let options = {
        method: 'POST',
        url: '/api/workrelate/performance/accessAuditOperation',
        params: {...params}
    };
    return Tools.callApi(options);
};